package controller;

import model.service.LyricsRepositoryService;
import model.service.ModelServiceProvider;
import vo.LyricsVO;
import controller.service.LyricsCtrlService;

public class LyricsCtrl implements LyricsCtrlService{

	private static LyricsCtrl ctrl;
	private LyricsRepositoryService service;
	
	private LyricsCtrl(){
		service = ModelServiceProvider.getLyricsRepositoryService();
	}
	
	public static LyricsCtrl getInstance(){
		return ctrl == null ? ctrl = new LyricsCtrl() : ctrl;
	}

	@Override
	public boolean addLyricsToRepository(LyricsVO toAdd) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean removeLyricsFromRepository(LyricsVO toRemove) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean alterLyricsInfo(LyricsVO lyricsVO) {
		// TODO Auto-generated method stub
		return false;
	}
	
	public LyricsVO findLyrics(long lyricsId){
		return service.findLyrics(lyricsId);
	}
}
